from selenium import webdriver
import time
# executable_path = r"D:\chromedriver-win64\chromedriver.exe"
# def main():
#     b=webdriver.Chrome(executable_path)
#     b.get('http://www.baidu.com')
#     time.sleep(1)
#     b.quit()
# if __name__ == '__main__':
#     main()


def main():
    b=webdriver.Chrome()
    b.get('http://www.baidu.com')
    time.sleep(1)
    b.quit()
if __name__ == '__main__':
    main()
